package com.lizemin.jingdongmall.mapper;


import com.lizemin.jingdongmall.entity.User;
import com.lizemin.mybatis.annotation.SqlParam;

import java.util.List;

/**
 * @author lzm
 * @date 2025/5/18 21:18
 * @description
 */

public interface UserMapper {

    User getUser(@SqlParam("id") Integer id);

    int insert(@SqlParam("users") User users);

    int update(@SqlParam("users") User users);

    int deleteById(@SqlParam("id") int id);

    List<User> getAllUsers();
}
